<?php
/**

 * @version $Id: default.php,v 1.4 2009/06/04 20:13:37 dgravato Exp $

 * @package    sketchup

 * @subpackage 

 * @author     Chris Borkowski {@link http://www.guggenheim.org}

 * @author     Created on 05-May-2009

 */

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
<div id="sketchup_message_recent"><!--<h3>Most Recent</h3>-->
</div>
<?php foreach($this->list as $l): ?> 
<div id="sketchup_search_list">
<table> 
<tr>
  <td width="180" valign="top">
  <div id="list_picture"><a href="<?php echo $l->link; ?>">
  <img src="<?php echo $l->image1 = str_replace('/images/content/sketchup/uploads/', 'images/content/sketchup/site/', $l->image1); ?>" width="160" height="112"/></a></div>
  </td>
  <td width="500" valign="top"><span id="sketchup_title"><a href="<?php echo $l->link; ?>"><?php echo $l->p_title; ?></a></span><br/>
  	<span id="sketchup_designer">By <?php echo $l->f_name; ?>&nbsp;<?php echo $l->l_name; ?></span><br/>
	<span id="sketchup_designer_details">From:&nbsp;<?php echo $l->city; ?>,&nbsp;<?php echo $l->country; ?><br/>
        Shelter location:&nbsp;<?php echo $l->location; ?><br/>
 		Date accepted:&nbsp;<?php echo JHTML::Date($l->sub_date,'%B %e, %Y'); ?></span>
 		<span id="finalist_all">
       		<?php if ($l->finalist == 1): ?>
        	 <a href="<?php echo $this->vote_link; ?>"> <img src="<?php echo JURI::base(); ?>/components/com_sketchup/assets/images/finalist_dot.jpg"/> FINALIST </a>
        	<?php endif ?>
		</span>
 	</td>
</tr>  

</table>
</div>
<?php endforeach; ?> 


 <div id="bottom_links">
 <table width="100%">
    <tr>
      <td><?php echo $this->pagination->getResultsCounter(); ?></td>
     	<td><form name="adminForm"><?php echo $this->pagination->getListFooter(); ?></form></td>
      <form action="<?php echo $this->requestURL; ?>" name="adminForm" method="post">
      <td>
    
     </td> 
    </tr>  
 </table>
</div>




